$(document).ready(function(){
	var index,test = 0;
	$('.allTest li ul li').click( function(){
		$('.allTest li ul li.selected').removeClass('selected');
		$(this).addClass('selected').children("input[@type=radio]").click();
		index = $('.allTest li ul li').index( this );
	});
	$("#submit").click(function () { 
      alert(index + "  " + test)
    });
    $("#count").click(function () { 
      test ++;
    });
});

